#############
# traqconfig Makefile.am
# v0.4 - (c) Daniel Hiepler (2010-2013)


EXTRA_DIST = 

bin_PROGRAMS = traqconfig

traqconfig_SOURCES = \
	gfx.c \
	gstreamer.c \
	gui.c \
	main.c \
	output.c \
	prefs.c \
	sensor.c \
	source.c \
	thresh.c \
	warp.c



traqconfig_INCLUDES = \
	-I$(top_srcdir) -I$(top_srcdir)/include

traqconfig_CFLAGS = \
	-std=c99 -D_BSD_SOURCE \
	-DDATADIR=\"$(datadir)\" \
	-Wall -Wextra -Werror -Wno-unused-parameter \
	$(TRAQCONF_CFLAGS) \
	$(traqconfig_INCLUDES)

traqconfig_LDADD = $(TRAQCONF_LIBS)
traqconfig_LDFLAGS = $(TRAQCONF_LIBS)




if ENABLE_GPROF
	traqconfig_CFLAGS += -pg
	traqconfig_LDFLAGS += -pg
endif

if ENABLE_DEBUG
	traqconfig_CFLAGS += -DDEBUG
endif
